<!DOCTYPE html>
<html lang="zh">
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/header :: header(~{::title},~{::link},~{})">
    <title>配置套餐</title>
    <link rel="icon" th:href="@{/assets/img/lcxm.ico}" type="image/ico">
</head>
<body class="body">
<!--导航-->
<div th:replace="common/nav :: nav(true)"></div>
<div class="container">
    <div class="row">
        <div class="page-header col-md-offset-1" style="margin-top: 20px;top:50%;">
            <h3 class="text-primary">凯捷科技 <small>简易点餐</small></h3>
        </div>
        <form class="form-horizontal validate" role="form" method="post">

            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">套餐*</label>
                <div class="col-sm-6 ">
                    <input type="text" class="form-control" id="name" name="name" th:value="${ entity?.name }"
                           placeholder="请输入套餐名">
                </div>
                <div class="col-sm-4  help-inline form-control-static"></div>
            </div>


            <div class="form-group">
                <label for="describe" class="col-sm-2 control-label">菜品*</label>
                <div class="col-sm-6 ">
                    <input type="text" class="form-control" id="describe" name="describe"
                           th:value="${ entity?.describe }"
                           placeholder="请输入菜品描述">
                </div>
                <div class="col-sm-4  help-inline form-control-static"></div>
            </div>


            <div class="form-group">
                <label for="defaults" class="col-sm-2 control-label">每日必点*</label>
                <div class="col-sm-6 ">
                    <select class="form-control" id="defaults" name="defaults" th:attr="data-value=${entity?.defaults}"
                            data-rule-required="true">
                        <option value="false">--否--</option>
                        <option value="true">--是--</option>
                    </select>
                </div>
                <div class="col-sm-4  help-inline form-control-static"></div>
            </div>


            <div class="form-group clearfix">
                <div class="col-sm-offset-3 col-sm-9">
                    <button type="submit" class="btn btn-primary">
                        <i class="glyphicon glyphicon-ok"></i> 提交
                    </button>
                    <button type="button" class="btn btn-info action-back">
                        <i class="glyphicon glyphicon-repeat"></i> 返回
                    </button>
                </div>
            </div>

        </form>


    </div>


</div>

<!-- 引入通用js-->
<div th:replace="common/footer :: footer"></div>

</body>
</html>